package com.lvy.hczn.front.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lvy.hczn.front.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 运输单商品信息
 *
 * @author yw
 * @date 2023-08-26 19:33:17
 **/
@Data
@TableName("transport_detail_goods")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "运输单商品信息")
public class TransportDetailGoods extends BaseModel<TransportDetailGoods> {

    @ApiModelProperty(value = "取货地编码 仓库编码")
    private String arriveCode;

    @ApiModelProperty(value = "是否大件")
    private String bigProduct;

    @ApiModelProperty(value = "货箱编码")
    private String cartonCode;

    @ApiModelProperty(value = "货箱重量")
    private String containerWeight;

    @ApiModelProperty(value = "货箱类型id")
    private String containerId;

    @ApiModelProperty(value = "无")
    private String detailGoodsId;

    @ApiModelProperty(value = "取送货id")
    private String detailId;

    @ApiModelProperty(value = "商品编码")
    private String merchandiseCode;

    @ApiModelProperty(value = "商品名称")
    private String merchandiseName;

    @ApiModelProperty(value = "商品数量（销售单位）")
    private Integer merchandiseNum;

//    @ApiModelProperty(value = "SKU")
//    private String merchandiseSku;

    @ApiModelProperty(value = "商品规格")
    private String merchandiseSpecif;

    @ApiModelProperty(value = "商品数量（调拨单位）")
    private Integer merchandiseTfNum;

    @ApiModelProperty(value = "单位")
    private String merchandiseUnit;

    /**
     * 供应商编码
     */
    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @ApiModelProperty(value = "商品体积")
    private BigDecimal merchandiseVolume;

    @ApiModelProperty(value = "商品重量")
    private BigDecimal merchandiseWeight;

    @ApiModelProperty(value = "生产日期")
    private LocalDateTime producerDate;

    @ApiModelProperty(value = "生产者ID")
    private String producerId;

    @ApiModelProperty(value = "司机称重重量")
    private String riderWeight;

    @ApiModelProperty(value = "是否标品0:否,1:是")
    private String standard;

    @ApiModelProperty(value = "无")
    private String status;

    @ApiModelProperty(value = "温区")
    private String temperAreaId;

    @ApiModelProperty(value = "0:商品 1:物流包裹")
    private String type;

    @ApiModelProperty(value = "保质期")
    private Integer warrantyDate;

}
